package com.qf.controller;

import com.qf.annotation.RequiresPermissionsDesc;
import com.qf.util.ResponseUtil;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lixu
 */
@RestController
@RequestMapping("/admin/collect")
@CrossOrigin
public class CollectController {

    /**
     * #### 会员收藏
     *
     * ##### 2.1.4.1. 会员收藏列表
     *
     * - 接口地址 : http://localhost:8083/admin/collect/list?page=1&limit=20&sort=add_time&order=desc
     *
     * - 下行数据 :
     */
    @RequiresPermissionsDesc(menu = {"用户管理","会员收藏"},button = "查询")
    @RequiresPermissions(value = "admin:collect:list")
    @GetMapping("/list")
    public Object list(Integer page,Integer limit,String sort,String order,String username){



        return ResponseUtil.ok();
    }
}
